<template>
  <div style="padding:20px">
    <el-button class="btn" type="primary" size="small" @click="clearStorage"
      >清除缓存</el-button
    >
  </div>
</template>
<script>
export default {
  name: 'clearStorage',
  methods: {
    clearStorage() {
        localStorage.clear()
    },
  },
};
</script>
